﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp11
{
    class DeliveryRobot:Robot
    {
        public int hours;
        public int Hours { get { return this.hours; } set { this.hours = value; } }
        //public DeliveryRobot(string name,int hours):base(name) { this.hours = hours; }

        public DeliveryRobot()
        {
           
        }
        public override void Working()
        {
            Console.WriteLine("你好，我是传菜机器人");
        }
    }
}
